'use server';
import { NextResponse } from "next/server";

export const GET = async () => {
  await new Promise<void>((resolve) => {
    setTimeout(() => {resolve()}, 2000); // 2秒钟延迟
  });
  return NextResponse.json("ng", { status: 500 }); // 返回 500 错误
};